package com.school.campus.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.school.common.annotation.Excel;
import com.school.common.core.domain.BaseEntity;

/**
 * 员工管理对象 staff
 * 
 * @author wwj
 * @date 2025-11-03
 */
public class Staff extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String name;

    /** 员工图片 */
    @Excel(name = "员工图片")
    private String img;

    /** 性别（0-男，1-女） */
    @Excel(name = "性别", readConverterExp = "0=-男，1-女")
    private Long gender;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 状态（0-空闲，1-工作中） */
    @Excel(name = "状态", readConverterExp = "0=-空闲，1-工作中")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }

    public void setGender(Long gender) 
    {
        this.gender = gender;
    }

    public Long getGender() 
    {
        return gender;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("img", getImg())
            .append("gender", getGender())
            .append("phone", getPhone())
            .append("status", getStatus())
            .toString();
    }
}
